package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;

import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;


import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;


@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "user_like")

public class UserLike implements Serializable {
    private ObjectId id;

    //用户id
    private Long userId;

    //喜欢人用户
    private Long likeUserId;

    //创建时间
    private Long created;

    private Boolean isLike;

    private Long updated; //更新时间

}
